package com.jysz.certificate.persistence.model.cs;


public class TheObject {

	private Long id;
	private String theAddress;// 二网地址
	private String motorcycleType;// 车型
	private String chassis;// 车架号
	private String engine;// 发动机号
	private double supplyPrice;// 供货价begin
	private String certificationNum;// 合格证号
	private String shopName;// 回库地址
	private String copyShow;//复制二网地址，只用来在页面中显示
	
	public String getCopyShow() {
		return copyShow;
	}
	public void setCopyShow(String copyShow) {
		this.copyShow = copyShow;
	}

	public String getMotorcycleType() {
		return motorcycleType;
	}

	public void setMotorcycleType(String motorcycleType) {
		this.motorcycleType = motorcycleType;
	}

	public String getChassis() {
		return chassis;
	}

	public void setChassis(String chassis) {
		this.chassis = chassis;
	}

	public String getEngine() {
		return engine;
	}

	public void setEngine(String engine) {
		this.engine = engine;
	}

	public double getSupplyPrice() {
		return supplyPrice;
	}

	public void setSupplyPrice(double supplyPrice) {
		this.supplyPrice = supplyPrice;
	}

	public String getCertificationNum() {
		return certificationNum;
	}

	public void setCertificationNum(String certificationNum) {
		this.certificationNum = certificationNum;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getTheAddress() {
		return theAddress;
	}

	public void setTheAddress(String theAddress) {
		this.theAddress = theAddress;
	}
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	public boolean equals(Object obj){
		
		TheObject theObject = (TheObject) obj;
		
		if(this.getId().equals(theObject.getId())){
			
			return true;
		}
		
		return false;
	}
}